//
//  HMDiscoverTableViewController.swift
//  WeiBoXR
//
//  Created by acer on 16/9/19.
//  Copyright © 2016年 acer. All rights reserved.
//

import UIKit

class HMDiscoverTableViewController: HMVisitorTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

//        setupUI()
        if isLogin{
            
            navigationItem.titleView = HMSearchView.hmsearchView()
        }else {
            visitorView?.updataVisitorInfo(message: "登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过", imageName: "visitordiscover_image_message")
        }
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    private func setupUI() {
        
//        navigationItem.leftBarButtonItem = UIBarButtonItem(title: "登陆")
//        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "注册")
    }
    

}
